package com.wing.productionPlan.model.response;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Description: 报工单信息
 * @Project: szgc
 * @Package: com.wing.productionPlan.model.response.ProductionTheWorkOrderSearchVo
 * @Date: 2025/04/11 17:51
 * @Author: heZhou
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProductionTheWorkPrintVO implements Serializable {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


    /**
     * 创建人
     */
    private String createName;

    /**
     * 审核人
     */
    private String modifierName;



    /**
     * 报工单编码
     */
    private String code;

    /**
     * 开工单id
     */
    private Long workOrderId;
    private String workOrderCode;

    /**
     * 工序id
     */
    private Long processId;

    /**
     * 工序名称
     */
    private String processName;

    /**
     * 生产计划id
     */
    private Long productionPlanId;
    private String productionPlanCode;

    /**
     * 工位id
     */
    private Long workshopId;

    /**
     * 工位名称
     */
    private String workshopName;


    private String skuCode;
    private String skuName;
    private String skuSpec;

    /**
     * 排产数量
     */
    private String outputQuantity;

    /**
     * 合格数
     */
    private int acceptanceQuantityQ;

    /**
     * 工位性质
     */
    private String workstationNature;

    private String workstationNatureName;

    /**
     * 自检状态
     */
    private String reportWorkCheckStatus;

    /**
     * 报工数量
     */
    private Integer workQuantity;


    private Long gzsbId;
    /**
     * 设备/工种
     */
    private String gzsbName;


}
